Main Page | Data Structures | File List | Data Fields | Globals

BustaModelChef Class Reference

Chef model. More...

#include <BustaModelChef.h>


Public Member Functions

 BustaModelChef ()
 Constructor.
 ~BustaModelChef ()
 Destructor.
int getHealth ()
 Gets Chef's Health.
int getMaxHealth ()
 Gets Chef's Health.
void setHealth (int h)
 Sets Chef's health.
void addHealth (int h)
 Adds to Chef's health.
void subtractHealth (int h)
 Adds to Chef's health.
BustaModelCharacter getCharacter ()
 Return's character selected.
void setCharacter (BustaModelCharacter c)
 sets character


Detailed Description

Chef model.

Model representing the chef, includes health of chef


Constructor & Destructor Documentation

BustaModelChef::BustaModelChef  ) 
 

Constructor.

Initializes variables

BustaModelChef::~BustaModelChef  ) 
 

Destructor.

Destructor


Member Function Documentation

void BustaModelChef::addHealth int  h  ) 
 

Adds to Chef's health.

Adds specified amount the current health of the chef

BustaModelCharacter BustaModelChef::getCharacter  ) 
 

Return's character selected.

Returns the character that represents this chef

int BustaModelChef::getHealth  ) 
 

Gets Chef's Health.

Gets the current health of the chef

int BustaModelChef::getMaxHealth  ) 
 

Gets Chef's Health.

Gets the maximum health possible

void BustaModelChef::setCharacter BustaModelCharacter  c  ) 
 

sets character

Sets the character that represents this chef

void BustaModelChef::setHealth int  h  ) 
 

Sets Chef's health.

Sets the current health of the chef

void BustaModelChef::subtractHealth int  h  ) 
 

Adds to Chef's health.

Subtracts specified amount the current health of the chef. If health <= 0, sets health to zero and marks chef as dead


Generated on Sun Aug 14 22:24:56 2005 for BustaSandwich Models by  doxygen 1.4.2-20050421